package com.small.account.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.common.basis.oauth.AuUser;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

/**

 * Mapper 接口

 *
 * @author wangguochao
 * @since 2020-01-06
 */
public interface AuUserMapper extends BaseMapper<AuUser> {

    @Delete("DELETE FROM au_user WHERE user_name = #{phone} ")
    public int deleteuserbyphone(@Param("phone ") String phone);

}
